@media
all
{
#nav_main {
/* (en) containing floats in IE */
/* (de) Einfassen der Floats im IE */
  width: 100%; /*overflow: hidden;*/
/* (en) containing floats in all other browsers */
/* (de) Einfassen der Floats in allen anderen Browsern */
  float: left;
  display: inline;
  border-bottom: 1px #888 solid;
  line-height: 0; /*z-index:1;*/
}

#nav_main ul {
/* (en|de) Bugfix: IE - Doubled Float Margin Bug */
  display: inline;
  float: left;
  margin: 0; /* (en) Left margin of the first button  */
/* (de) Abstand des ersten Buttons vom linken Rand  */
  margin-left: 200px;
  padding: 0;
  position: relative;
  bottom: -1px;
  z-index: 10;
}

#nav_main ul li {
/* (en|de) Bugfix: IE - Doubled Float Margin Bug */
  display: inline;
  float: left;
  font-size: 1.0em;
  line-height: 1em;
  list-style-type: none;
  margin: 0.2em 0 0 0.7em;
  padding: 0;
  border: 1px solid #888;
  z-index: 10;
}

#nav_main ul li a,
  #nav_main ul li strong {
  background: transparent;
  color: #000;
  display: block;
  font-size: 1em;
  font-weight: bold;
  margin: 0;
  padding: 0.4em 0.8em 0.4em 0.8em;
  text-decoration: none;
  width: auto;
}

#nav_main ul li a:focus,
  #nav_main ul li a:hover,
  #nav_main ul li a:active {
  background: #eee;
  color: #333;
  text-decoration: none;
}

#nav_main ul #current {
  margin-top: 0.3em;
  border: 1px solid #888;
  border-bottom: 1px solid #fff;
}

#nav_main ul #current a {
  padding-bottom: 0.3em;
  color: #006;
}

#nav_main ul #current strong,
  #nav_main ul #current a,
  #nav_main ul #current a:focus,
  #nav_main ul #current a:hover,
  #nav_main ul #current a:active {
  background: transparent; /*color: #fff;*/
  text-decoration: none;
}

}